<div class="cil__detail-rest-info--label">{{'BIZ.STORE.OTHER.TRADE' | i18n}}</div>
<app-info-row
  *ngFor="let column of columns[fields.Card]; let rowIndex = index"
  [columns]="column"
  [ifEdit]="isEdits[fields.Card][rowIndex]"
  [rowIndex]="rowIndex"
  (active)="activeItem($event, rowIndex)"
></app-info-row>

<ng-template #tpRefund let-column="column">
  <div (click)="$event.stopPropagation()">
    <nz-radio-group [(ngModel)]="column.value">
      <label nz-radio [nzValue]="true">{{'BIZ.STORE.OTHER.TRADE.REFUND_MODE.ASYNC' | i18n}}</label>
      <label nz-radio [nzValue]="false">{{'BIZ.STORE.OTHER.TRADE.REFUND_MODE.SYNC' | i18n}}</label>
    </nz-radio-group>
  </div>
</ng-template>

<ng-template #tpTranTypes>
  <nz-checkbox-group [(ngModel)]="transactionTypes"></nz-checkbox-group>
</ng-template>

<ng-template #operator let-rowIndex=rowIndex>
  <app-rest-edit
    [editing]="isEdits[fields.Card][rowIndex]"
    (edit)="edit(fields.Card, rowIndex)"
    (cancel)="cancel()"
    (submit)="submit()"
  ></app-rest-edit>
</ng-template>
